package com.ycy.service.wage;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Service;

import com.ycy.dao.WageDao;
import com.ycy.pojo.Wage;

@Service
public class WageServiceImpl implements WageService {
	@Autowired
	WageDao wageDao;
	public List<Wage> findall() {
		return wageDao.findall();
	}
	public Wage findIt(String name) {
		return wageDao.findIt(name);
	}

}
